package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Id;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by Mikey.zhaopeng on 2015/3/18 15:27.
 * Email mikey.zhao@ndpmedia.com
 * +--------------+--------------+------+-----+---------+----------------+
 * | Field        | Type         | Null | Key | Default | Extra          |
 * +--------------+--------------+------+-----+---------+----------------+
 * | id           | bigint(20)   | NO   | PRI | NULL    | auto_increment |
 * | vpi_info_id  | bigint(20)   | YES  |     | NULL    |                |
 * | country_code | varchar(20)  | YES  |     | NULL    |                |
 * | country_name | varchar(255) | YES  |     | NULL    |                |
 * +--------------+--------------+------+-----+---------+----------------+
 */
@Setter
@Getter
@NoArgsConstructor
public class VpiCountryInfo implements Serializable {
    private static final long serialVersionUID = -2231792147461804766L;
	/**
	 * as column id
	 */
    @Id
    private Long id;
	/**
	 * as column vpi_info_id
	 */
    private Long vpiInfoId;
	/**
	 * as column country_name
	 */
    private String countryName;
	/**
	 * as column country_code
	 */
    private String countryCode;
}
